import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";

const routes:RouteRecordRaw[] = [
    {
        path:'/',
        name:'AddBorrow',
        component:()=>import('../components/AddBorrow.vue')
    },
    {
        path:'/ShowBorrow',
        name:'ShowBorrow',
        component:()=>import('../components/ShowBorrow.vue')
    },
]

const router = createRouter({
    history:createWebHistory(),
    routes
})

export default router


